package com.hy.admin.dao;

import com.hy.admin.entity.MemberYangCoinDetailEntity;
import com.hy.admin.helper.response.MemberYangCoinDetailResponse;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MemberYangCoinDetailDao {
    int deleteByPrimaryKey(Long id);

    int insert(MemberYangCoinDetailEntity record);

    int insertSelective(MemberYangCoinDetailEntity record);

    MemberYangCoinDetailEntity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MemberYangCoinDetailEntity record);

    int updateByPrimaryKey(MemberYangCoinDetailEntity record);

    List<MemberYangCoinDetailResponse> selectByMemberId(Long memberId);
}